package com.jinly.ryder.flow.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jinly.ryder.common.dao.entity.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 流程规则表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "flow_rule", autoResultMap = true)
public class FlowRuleDO extends BaseDO {

    /**
     * 规则ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 规则名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 调用接口
     */
    @TableField(value = "invoke_interface")
    private String invokeInterface;

    /**
     * 调用方法
     */
    @TableField(value = "invoke_method")
    private String invokeMethod;

    /**
     * 展示名称
     */
    @TableField(value = "show_name")
    private String showName;

    /**
     * 是否生效
     */
    @TableField(value = "active")
    private Boolean active;

}
